const baseUrl = {
  dev: "http://localhost:3000",
  pro: "http://shop.bluej.cn/api",
};
const api = {
  banner: baseUrl.pro + "/carousel?project_id=259",
  type: baseUrl.pro + "/classify/classifyGoods?project_id=259",
  goods: baseUrl.pro + "/goods?project_id=259",
  good: baseUrl.pro + "/goods/",
  login: baseUrl.pro + "/login",
  cart: baseUrl.pro + "/shoppingCart?project_id=259",
  register: baseUrl.pro + "/register",
  addCart: baseUrl.pro + "/shoppingCart/",
  delCart: baseUrl.pro + "/shoppingCart/",
  // clearCart: baseUrl.pro + "/shoppingCart/",
  updateCart: baseUrl.pro + "/shoppingCart/",
  city: baseUrl.pro + "/city",
  address: baseUrl.pro + "/address",
  order: baseUrl.pro + "/order?project_id=259",
  delOrder: baseUrl.pro + "/order/",
  delAddress: baseUrl.pro + "/address/",
  setDefaultAddress: baseUrl.pro + "/setDefault/",
  defalutAddress: baseUrl.pro + "/defalutAddress",
  goodsSearch: baseUrl.pro + "/goodsSearch?project_id=259",
  updateUser: baseUrl.pro + "/user/",
};

export default api;
